<template>
  <div id="app">
    <keep-alive v-if="$route.meta.keepAlive">
      <router-view />
    </keep-alive>
    <router-view v-else />
  </div>
</template>
<script>
export default {
  components: {
  },
  mounted() {
    document.title = this.$t('X_in_1_automatic_detection_equipment')
  },
  methods: {}
}
</script>
<style lang="less">
#app {
  margin: 0;
  padding: 0;
  width: 100%;
  // min-height: 100vh;
  box-sizing: border-box;
  user-select: none;
}

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  cursor: pointer;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.45);
  transition: color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.7);
}

.selectLanguage {
  position: absolute !important;
  right: 100px;
  top: 0;
  color: #FFFFFF !important;
  line-height: 60px !important;
  ;
}
</style>
